package com.heo.music.player.dao;

import com.heo.music.player.entity.MusicInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * created on 2024-05-11 11:05
 *
 * @author 星天无极
 **/
public interface MusicInfoDao extends JpaRepository<MusicInfo, Integer>, JpaSpecificationExecutor<MusicInfo> {
    boolean existsByTitleAndArtist(String title, String artist);
}
